﻿using SmartPlant.Core.Mvvm;
using System.Collections.ObjectModel;

namespace SmartPlan.TelerikExt
{
    public class TabViewModel : SmartViewModel
    {
        private bool isSelected = false;
        private string text = string.Empty;
        private string icon = string.Empty;

        private ObservableCollection<GroupViewModel> groups;

        public TabViewModel()
        {
            groups = new ObservableCollection<GroupViewModel>();
        }

        public ObservableCollection<GroupViewModel> Groups
        {
            get
            {
                return groups;
            }
        }

        public bool IsSelected
        {
            get
            {
                return this.isSelected;
            }
            set
            {
                SetProperty(ref isSelected, value);
            }
        }

        public string Icon
        {
            get
            {
                return this.icon;
            }
            set
            {
                SetProperty(ref icon, value);
            }
        }

        public string Text
        {
            get
            {
                return this.text;
            }
            set
            {
                SetProperty(ref text, value);
            }
        }
    }
}
